package com.tarena.lbs.content.dao.repository.impl;

import com.tarena.lbs.content.dao.mapper.ArticleMapper;
import com.tarena.lbs.content.dao.repository.ArticleRepository;
import com.tarena.lbs.content.pojo.po.ArticleSearchPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ArticleRepositoryImpl implements ArticleRepository {
    @Autowired
    private ArticleMapper articleMapper;

    @Override
    public void save(ArticleSearchPO articleSearchPO) {
        articleMapper.insert(articleSearchPO);
    }
}
